Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Getting Version Information

QuickDraw 3D provides a routine that you can use to get the installed version of QuickDraw 3D.

Q3GetVersion

You can use the Q3GetVersion function to get the version of the installed QuickDraw 3D software.

TQ3Status Q3GetVersion (
                     unsigned long *majorRevision,
                     unsigned long *minorRevision);
majorRevision
On exit, a major revision number.
minorRevision
On exit, a minor revision number.

DESCRIPTION

The Q3GetVersion function returns, in the majorRevision and minorRevision parameters, the major and minor revision numbers of the QuickDraw 3D software currently installed. See the description of the 'vers' resource in the book Inside Macintosh: Macintosh Toolbox Essentials for information about major and minor revision numbers.

ERRORS

kQ3ErrorNotInitialized


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |